package com.inoneone.youba.mcht.dao.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TankerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TankerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTankerIdIsNull() {
            addCriterion("tanker_id is null");
            return (Criteria) this;
        }

        public Criteria andTankerIdIsNotNull() {
            addCriterion("tanker_id is not null");
            return (Criteria) this;
        }

        public Criteria andTankerIdEqualTo(String value) {
            addCriterion("tanker_id =", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdNotEqualTo(String value) {
            addCriterion("tanker_id <>", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdGreaterThan(String value) {
            addCriterion("tanker_id >", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdGreaterThanOrEqualTo(String value) {
            addCriterion("tanker_id >=", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdLessThan(String value) {
            addCriterion("tanker_id <", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdLessThanOrEqualTo(String value) {
            addCriterion("tanker_id <=", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdLike(String value) {
            addCriterion("tanker_id like", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdNotLike(String value) {
            addCriterion("tanker_id not like", value, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdIn(List<String> values) {
            addCriterion("tanker_id in", values, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdNotIn(List<String> values) {
            addCriterion("tanker_id not in", values, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdBetween(String value1, String value2) {
            addCriterion("tanker_id between", value1, value2, "tankerId");
            return (Criteria) this;
        }

        public Criteria andTankerIdNotBetween(String value1, String value2) {
            addCriterion("tanker_id not between", value1, value2, "tankerId");
            return (Criteria) this;
        }

        public Criteria andMchIdIsNull() {
            addCriterion("mch_id is null");
            return (Criteria) this;
        }

        public Criteria andMchIdIsNotNull() {
            addCriterion("mch_id is not null");
            return (Criteria) this;
        }

        public Criteria andMchIdEqualTo(String value) {
            addCriterion("mch_id =", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotEqualTo(String value) {
            addCriterion("mch_id <>", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdGreaterThan(String value) {
            addCriterion("mch_id >", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdGreaterThanOrEqualTo(String value) {
            addCriterion("mch_id >=", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLessThan(String value) {
            addCriterion("mch_id <", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLessThanOrEqualTo(String value) {
            addCriterion("mch_id <=", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLike(String value) {
            addCriterion("mch_id like", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotLike(String value) {
            addCriterion("mch_id not like", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdIn(List<String> values) {
            addCriterion("mch_id in", values, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotIn(List<String> values) {
            addCriterion("mch_id not in", values, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdBetween(String value1, String value2) {
            addCriterion("mch_id between", value1, value2, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotBetween(String value1, String value2) {
            addCriterion("mch_id not between", value1, value2, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchNameIsNull() {
            addCriterion("mch_name is null");
            return (Criteria) this;
        }

        public Criteria andMchNameIsNotNull() {
            addCriterion("mch_name is not null");
            return (Criteria) this;
        }

        public Criteria andMchNameEqualTo(String value) {
            addCriterion("mch_name =", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameNotEqualTo(String value) {
            addCriterion("mch_name <>", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameGreaterThan(String value) {
            addCriterion("mch_name >", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameGreaterThanOrEqualTo(String value) {
            addCriterion("mch_name >=", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameLessThan(String value) {
            addCriterion("mch_name <", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameLessThanOrEqualTo(String value) {
            addCriterion("mch_name <=", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameLike(String value) {
            addCriterion("mch_name like", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameNotLike(String value) {
            addCriterion("mch_name not like", value, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameIn(List<String> values) {
            addCriterion("mch_name in", values, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameNotIn(List<String> values) {
            addCriterion("mch_name not in", values, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameBetween(String value1, String value2) {
            addCriterion("mch_name between", value1, value2, "mchName");
            return (Criteria) this;
        }

        public Criteria andMchNameNotBetween(String value1, String value2) {
            addCriterion("mch_name not between", value1, value2, "mchName");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andBrandsIsNull() {
            addCriterion("brands is null");
            return (Criteria) this;
        }

        public Criteria andBrandsIsNotNull() {
            addCriterion("brands is not null");
            return (Criteria) this;
        }

        public Criteria andBrandsEqualTo(String value) {
            addCriterion("brands =", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsNotEqualTo(String value) {
            addCriterion("brands <>", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsGreaterThan(String value) {
            addCriterion("brands >", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsGreaterThanOrEqualTo(String value) {
            addCriterion("brands >=", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsLessThan(String value) {
            addCriterion("brands <", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsLessThanOrEqualTo(String value) {
            addCriterion("brands <=", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsLike(String value) {
            addCriterion("brands like", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsNotLike(String value) {
            addCriterion("brands not like", value, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsIn(List<String> values) {
            addCriterion("brands in", values, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsNotIn(List<String> values) {
            addCriterion("brands not in", values, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsBetween(String value1, String value2) {
            addCriterion("brands between", value1, value2, "brands");
            return (Criteria) this;
        }

        public Criteria andBrandsNotBetween(String value1, String value2) {
            addCriterion("brands not between", value1, value2, "brands");
            return (Criteria) this;
        }

        public Criteria andOilTypeIsNull() {
            addCriterion("oil_type is null");
            return (Criteria) this;
        }

        public Criteria andOilTypeIsNotNull() {
            addCriterion("oil_type is not null");
            return (Criteria) this;
        }

        public Criteria andOilTypeEqualTo(String value) {
            addCriterion("oil_type =", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotEqualTo(String value) {
            addCriterion("oil_type <>", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeGreaterThan(String value) {
            addCriterion("oil_type >", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeGreaterThanOrEqualTo(String value) {
            addCriterion("oil_type >=", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeLessThan(String value) {
            addCriterion("oil_type <", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeLessThanOrEqualTo(String value) {
            addCriterion("oil_type <=", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeLike(String value) {
            addCriterion("oil_type like", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotLike(String value) {
            addCriterion("oil_type not like", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeIn(List<String> values) {
            addCriterion("oil_type in", values, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotIn(List<String> values) {
            addCriterion("oil_type not in", values, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeBetween(String value1, String value2) {
            addCriterion("oil_type between", value1, value2, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotBetween(String value1, String value2) {
            addCriterion("oil_type not between", value1, value2, "oilType");
            return (Criteria) this;
        }

        public Criteria andModelTypeIsNull() {
            addCriterion("model_type is null");
            return (Criteria) this;
        }

        public Criteria andModelTypeIsNotNull() {
            addCriterion("model_type is not null");
            return (Criteria) this;
        }

        public Criteria andModelTypeEqualTo(String value) {
            addCriterion("model_type =", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeNotEqualTo(String value) {
            addCriterion("model_type <>", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeGreaterThan(String value) {
            addCriterion("model_type >", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("model_type >=", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeLessThan(String value) {
            addCriterion("model_type <", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeLessThanOrEqualTo(String value) {
            addCriterion("model_type <=", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeLike(String value) {
            addCriterion("model_type like", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeNotLike(String value) {
            addCriterion("model_type not like", value, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeIn(List<String> values) {
            addCriterion("model_type in", values, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeNotIn(List<String> values) {
            addCriterion("model_type not in", values, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeBetween(String value1, String value2) {
            addCriterion("model_type between", value1, value2, "modelType");
            return (Criteria) this;
        }

        public Criteria andModelTypeNotBetween(String value1, String value2) {
            addCriterion("model_type not between", value1, value2, "modelType");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andInstallAddrIsNull() {
            addCriterion("install_addr is null");
            return (Criteria) this;
        }

        public Criteria andInstallAddrIsNotNull() {
            addCriterion("install_addr is not null");
            return (Criteria) this;
        }

        public Criteria andInstallAddrEqualTo(String value) {
            addCriterion("install_addr =", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrNotEqualTo(String value) {
            addCriterion("install_addr <>", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrGreaterThan(String value) {
            addCriterion("install_addr >", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrGreaterThanOrEqualTo(String value) {
            addCriterion("install_addr >=", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrLessThan(String value) {
            addCriterion("install_addr <", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrLessThanOrEqualTo(String value) {
            addCriterion("install_addr <=", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrLike(String value) {
            addCriterion("install_addr like", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrNotLike(String value) {
            addCriterion("install_addr not like", value, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrIn(List<String> values) {
            addCriterion("install_addr in", values, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrNotIn(List<String> values) {
            addCriterion("install_addr not in", values, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrBetween(String value1, String value2) {
            addCriterion("install_addr between", value1, value2, "installAddr");
            return (Criteria) this;
        }

        public Criteria andInstallAddrNotBetween(String value1, String value2) {
            addCriterion("install_addr not between", value1, value2, "installAddr");
            return (Criteria) this;
        }

        public Criteria andFuelChargeIsNull() {
            addCriterion("fuel_charge is null");
            return (Criteria) this;
        }

        public Criteria andFuelChargeIsNotNull() {
            addCriterion("fuel_charge is not null");
            return (Criteria) this;
        }

        public Criteria andFuelChargeEqualTo(BigDecimal value) {
            addCriterion("fuel_charge =", value, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeNotEqualTo(BigDecimal value) {
            addCriterion("fuel_charge <>", value, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeGreaterThan(BigDecimal value) {
            addCriterion("fuel_charge >", value, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fuel_charge >=", value, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeLessThan(BigDecimal value) {
            addCriterion("fuel_charge <", value, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fuel_charge <=", value, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeIn(List<BigDecimal> values) {
            addCriterion("fuel_charge in", values, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeNotIn(List<BigDecimal> values) {
            addCriterion("fuel_charge not in", values, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fuel_charge between", value1, value2, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelChargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fuel_charge not between", value1, value2, "fuelCharge");
            return (Criteria) this;
        }

        public Criteria andFuelCountIsNull() {
            addCriterion("fuel_count is null");
            return (Criteria) this;
        }

        public Criteria andFuelCountIsNotNull() {
            addCriterion("fuel_count is not null");
            return (Criteria) this;
        }

        public Criteria andFuelCountEqualTo(Integer value) {
            addCriterion("fuel_count =", value, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountNotEqualTo(Integer value) {
            addCriterion("fuel_count <>", value, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountGreaterThan(Integer value) {
            addCriterion("fuel_count >", value, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("fuel_count >=", value, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountLessThan(Integer value) {
            addCriterion("fuel_count <", value, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountLessThanOrEqualTo(Integer value) {
            addCriterion("fuel_count <=", value, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountIn(List<Integer> values) {
            addCriterion("fuel_count in", values, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountNotIn(List<Integer> values) {
            addCriterion("fuel_count not in", values, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountBetween(Integer value1, Integer value2) {
            addCriterion("fuel_count between", value1, value2, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andFuelCountNotBetween(Integer value1, Integer value2) {
            addCriterion("fuel_count not between", value1, value2, "fuelCount");
            return (Criteria) this;
        }

        public Criteria andRemainFuelIsNull() {
            addCriterion("remain_fuel is null");
            return (Criteria) this;
        }

        public Criteria andRemainFuelIsNotNull() {
            addCriterion("remain_fuel is not null");
            return (Criteria) this;
        }

        public Criteria andRemainFuelEqualTo(BigDecimal value) {
            addCriterion("remain_fuel =", value, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelNotEqualTo(BigDecimal value) {
            addCriterion("remain_fuel <>", value, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelGreaterThan(BigDecimal value) {
            addCriterion("remain_fuel >", value, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("remain_fuel >=", value, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelLessThan(BigDecimal value) {
            addCriterion("remain_fuel <", value, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelLessThanOrEqualTo(BigDecimal value) {
            addCriterion("remain_fuel <=", value, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelIn(List<BigDecimal> values) {
            addCriterion("remain_fuel in", values, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelNotIn(List<BigDecimal> values) {
            addCriterion("remain_fuel not in", values, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("remain_fuel between", value1, value2, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andRemainFuelNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("remain_fuel not between", value1, value2, "remainFuel");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andInstallDateIsNull() {
            addCriterion("install_date is null");
            return (Criteria) this;
        }

        public Criteria andInstallDateIsNotNull() {
            addCriterion("install_date is not null");
            return (Criteria) this;
        }

        public Criteria andInstallDateEqualTo(Date value) {
            addCriterion("install_date =", value, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateNotEqualTo(Date value) {
            addCriterion("install_date <>", value, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateGreaterThan(Date value) {
            addCriterion("install_date >", value, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateGreaterThanOrEqualTo(Date value) {
            addCriterion("install_date >=", value, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateLessThan(Date value) {
            addCriterion("install_date <", value, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateLessThanOrEqualTo(Date value) {
            addCriterion("install_date <=", value, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateIn(List<Date> values) {
            addCriterion("install_date in", values, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateNotIn(List<Date> values) {
            addCriterion("install_date not in", values, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateBetween(Date value1, Date value2) {
            addCriterion("install_date between", value1, value2, "installDate");
            return (Criteria) this;
        }

        public Criteria andInstallDateNotBetween(Date value1, Date value2) {
            addCriterion("install_date not between", value1, value2, "installDate");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andSecretKeyIsNull() {
            addCriterion("secret_key is null");
            return (Criteria) this;
        }

        public Criteria andSecretKeyIsNotNull() {
            addCriterion("secret_key is not null");
            return (Criteria) this;
        }

        public Criteria andSecretKeyEqualTo(String value) {
            addCriterion("secret_key =", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyNotEqualTo(String value) {
            addCriterion("secret_key <>", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyGreaterThan(String value) {
            addCriterion("secret_key >", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyGreaterThanOrEqualTo(String value) {
            addCriterion("secret_key >=", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyLessThan(String value) {
            addCriterion("secret_key <", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyLessThanOrEqualTo(String value) {
            addCriterion("secret_key <=", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyLike(String value) {
            addCriterion("secret_key like", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyNotLike(String value) {
            addCriterion("secret_key not like", value, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyIn(List<String> values) {
            addCriterion("secret_key in", values, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyNotIn(List<String> values) {
            addCriterion("secret_key not in", values, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyBetween(String value1, String value2) {
            addCriterion("secret_key between", value1, value2, "secretKey");
            return (Criteria) this;
        }

        public Criteria andSecretKeyNotBetween(String value1, String value2) {
            addCriterion("secret_key not between", value1, value2, "secretKey");
            return (Criteria) this;
        }

        public Criteria andFuelAmountIsNull() {
            addCriterion("fuel_amount is null");
            return (Criteria) this;
        }

        public Criteria andFuelAmountIsNotNull() {
            addCriterion("fuel_amount is not null");
            return (Criteria) this;
        }

        public Criteria andFuelAmountEqualTo(BigDecimal value) {
            addCriterion("fuel_amount =", value, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountNotEqualTo(BigDecimal value) {
            addCriterion("fuel_amount <>", value, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountGreaterThan(BigDecimal value) {
            addCriterion("fuel_amount >", value, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fuel_amount >=", value, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountLessThan(BigDecimal value) {
            addCriterion("fuel_amount <", value, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fuel_amount <=", value, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountIn(List<BigDecimal> values) {
            addCriterion("fuel_amount in", values, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountNotIn(List<BigDecimal> values) {
            addCriterion("fuel_amount not in", values, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fuel_amount between", value1, value2, "fuelAmount");
            return (Criteria) this;
        }

        public Criteria andFuelAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fuel_amount not between", value1, value2, "fuelAmount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}